package com.lightbook.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lightbook.pojo.Classification;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ClassificationMapper extends BaseMapper<Classification> {

    //根据id查找菜单权限数据
    public List<Classification> selectTreeNodes(@Param("classificationId") long classificationId);

    //根据id查找菜单权限数据
    public List<Classification> selectAll();
}
